package com.team.employment.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum JobApplicationType implements BaseEnum {

    PENDING(0, "已投递"),

    REJECTED(1, "已拒绝"),
    
    ACCEPTED(2,"已接受");

    @EnumValue
    @JsonValue
    private Integer code;
    private String name;

    @Override
    public Integer getCode() {
        return this.code;
    }


    @Override
    public String getName() {
        return name;
    }

    JobApplicationType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }


}